package com.hectopascal;

import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
public class BaseResult<T> {

    private T result;

    public static <T> BaseResult<T> buildResult(T t) {
        BaseResult<T> baseResult = new BaseResult();
        baseResult.setResult(t);
        return baseResult;
    }
}